<template>
  <div class="message-container" style="margin-top: 10px;">
    <el-row class="container_items">
      <el-col :span="6">
        <div style="display: flex;flex-direction: column;">
          <PersonMessage style="box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);" />
          <vc-calendar :attributes="attrs" class="calendar" is-expanded />
        </div>
      </el-col>

      <el-col :span="17">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <i class="el-icon-s-tools" style="color: #2A82E4;" />
            <span style="margin-left:8px;">修改信息</span>
          </div>
          <div class="text item">
            <el-tabs value="second" class="tab" tab-position="left">
              <el-tab-pane label="修改信息" name="second">
                <ChangeMes />
              </el-tab-pane>
              <el-tab-pane label="修改密码" name="third">
                <ChangePas />
              </el-tab-pane>
              <el-tab-pane label="设置通知邮箱" name="fourth">
                <ChangeEmail />
              </el-tab-pane>
            </el-tabs>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>

</template>

<script>
import PersonMessage from './components/personMessage'
import ChangeMes from './components/ChangMes'
import ChangePas from './components/ChangePas'
import ChangeEmail from './components/ChangeEmail'
export default {
  name: 'OperationPoll',
  components: {
    ChangeMes, ChangePas, ChangeEmail, PersonMessage
  },
  data() {
    return {
      labelPosition: 'right',
      attrs: [
        {
          key: 'v0Day',
          dates: new Date(),
          highlight: true,
          dot: true,
          // popover 点亮的日期上出现提示内容
          popover: {
            label: '美好的一天！要开心呦！'
          }
        }
      ]

    }
  }

}
</script>

<style lang="scss" scoped>
.container_items{
  display: flex;
  justify-content: space-between;
}
.box-card{
  height: 700px;
}
</style>
